Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for getStreamAsBuffer() when Buffer is not available #101

Merged
merged 1 commit into from
Aug 13, 2023
Merged

Add test for getStreamAsBuffer() when Buffer is not available #101

merged 1 commit into from
Aug 13, 2023

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Aug 13, 2023

getStreamAsBuffer() throws when Buffer is not available, e.g. when in a browser. This adds a test to check this.

This brings 100% test coverage. 🎉

@sindresorhus sindresorhus merged commit c1df6e8 into sindresorhus:main Aug 13, 2023
@ehmicky ehmicky deleted the buffer-browser-test branch August 13, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants